mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
17 lines
334 B
Makefile
17 lines
334 B
Makefile
|
|
||
|
DO_CC=$(CC) -ggdb -fPIC -Wall $(CFLAGS) -o $@ -c $<
|
||
|
OBJECTS=ui_sbar.o plugin.o qvm_api.o
|
||
|
HEADERS=../plugin.h
|
||
|
all: $(OBJECTS)
|
||
|
$(CC) -ggdb -fPIC -shared $(OBJECTS) -o ../../quake/qw/plugins/hudx86.so
|
||
|
|
||
|
ui_sbar.o: ui_sbar.c $(HEADERS)
|
||
|
$(DO_CC)
|
||
|
|
||
|
plugin.o: ../plugin.c $(HEADERS)
|
||
|
$(DO_CC)
|
||
|
|
||
|
qvm_api.o: ../qvm_api.c $(HEADERS)
|
||
|
$(DO_CC)
|
||
|
|