mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
build the progs automaticly
This commit is contained in:
parent
6c0791e4f4
commit
02003cf229
1 changed files with 4 additions and 1 deletions
|
@ -15,11 +15,14 @@ SRC=main.c builtins.c
|
|||
OBJ=$(patsubst %,%.o,$(basename $(SRC)))
|
||||
DEP=$(patsubst %.o,%.d,$(OBJ))
|
||||
|
||||
all: $(EXE)
|
||||
all: $(EXE) $(EXE).dat
|
||||
|
||||
$(EXE): $(OBJ) $(LIBS)
|
||||
$(CC) $(LDFLAGS) -o $@ $^ -lQFgamecode -lQFutil
|
||||
|
||||
$(EXE).dat: progs.src *.qc
|
||||
qfcc
|
||||
|
||||
clean:
|
||||
rm -f $(EXE) *.o *.d core *.dat progdefs.h
|
||||
|
||||
|
|
Loading…
Reference in a new issue