mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-01 17:12:15 +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)))
|
OBJ=$(patsubst %,%.o,$(basename $(SRC)))
|
||||||
DEP=$(patsubst %.o,%.d,$(OBJ))
|
DEP=$(patsubst %.o,%.d,$(OBJ))
|
||||||
|
|
||||||
all: $(EXE)
|
all: $(EXE) $(EXE).dat
|
||||||
|
|
||||||
$(EXE): $(OBJ) $(LIBS)
|
$(EXE): $(OBJ) $(LIBS)
|
||||||
$(CC) $(LDFLAGS) -o $@ $^ -lQFgamecode -lQFutil
|
$(CC) $(LDFLAGS) -o $@ $^ -lQFgamecode -lQFutil
|
||||||
|
|
||||||
|
$(EXE).dat: progs.src *.qc
|
||||||
|
qfcc
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(EXE) *.o *.d core *.dat progdefs.h
|
rm -f $(EXE) *.o *.d core *.dat progdefs.h
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue