blob: 3f67532b161593d6623b4ece7c1fdc17d1133e27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright 2017 Jérôme Glisse <jglisse@redhat.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 2 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
CFLAGS = -std=c99 -Wall -O0 -g -D_GNU_SOURCE
LFLAGS = -lm
CC = gcc
all: old new
old: compote.o old.o
$(CC) $(CFLAGS) $? -o $@
new: compote.o new.o
$(CC) $(CFLAGS) $? -o $@
clean:
rm old new *.o
|