X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=Makefile;h=f55f7052b7c83205bf87171fc08c7b8e21acaaf5;hb=2e0feca0409acec706014de6b06d66938c22e22e;hp=7a016b322b9ecaa2dabb9b43da7fdb009d9f1e32;hpb=a6d9357ef9fd9e6a83aca86115f6e32d991d1c1c;p=xonotic%2Fgmqcc.git diff --git a/Makefile b/Makefile index 7a016b3..f55f705 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,13 @@ -CC = gcc -CFLAGS = -O3 -Wall -OBJ = main.o \ - lex.o \ - error.o \ - parse.o \ - typedef.o +CC = clang +CFLAGS += -Wall +OBJ = main.o \ + lex.o \ + error.o \ + parse.o \ + typedef.o \ + util.o \ + code.o \ + asm.c %.o: %.c $(CC) -c $< -o $@ $(CFLAGS)