19 lines
240 B
Makefile
19 lines
240 B
Makefile
.POSIX:
|
|
|
|
CC = tcc
|
|
CFLAGS = -Wall -Wunsupported -Wwrite-strings
|
|
OBJ = main.o token.o
|
|
|
|
all: woody
|
|
|
|
woody: $(OBJ)
|
|
$(CC) $(CFLAGS) -o woody $(OBJ)
|
|
|
|
main.o: main.c token.o
|
|
token.o: token.c token.h
|
|
|
|
clean:
|
|
rm -f woody $(OBJ)
|
|
|
|
.PHONY: all clean
|