blob: 6db30f93aad464148a7480beca649db8db1547b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
CC = gcc
STD = _GNU_SOURCE
OBJS = A.o test.o B.o
CFLAGS = -D__TZURTCH__
BIN = binary
.c.o:
$(CC) -c -Wall -I. $(CFLAGS) -D$(STD) $<
all: $(OBJS)
$(CC) $(OBJS) -o $(BIN)
clean:
rm -f *~ *.o core $(BIN)
|