gmqcc/Makefile
2012-04-09 19:47:20 -04:00

12 lines
192 B
Makefile

CC = gcc
CFLAGS = -O3 -Wall
OBJ = main.o lex.o error.o parse.o cpp.o typedef.o
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
gmqcc: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS)
clean:
rm -f *.o gmqcc