29 lines
575 B
Makefile
29 lines
575 B
Makefile
|
|
|
|
OPTS = -Wall -g -DDEBUG_LEVEL=0
|
|
|
|
all: joy2laser asyncburp
|
|
|
|
# --------------------------------------------
|
|
|
|
laserblast.o: laserblast.c Makefile
|
|
gcc -c ${OPTS} $<
|
|
|
|
joy2laser: joy2laser.c Makefile laserblast.o
|
|
gcc ${OPTS} $< laserblast.o ../functions/libpocosc.a -llo -o $@
|
|
|
|
# --------------------------------------------
|
|
|
|
asyncburp.o: asyncburp.c burpmsg.h Makefile
|
|
gcc -c ${OPTS} $<
|
|
|
|
burpmsg.o: burpmsg.c burpmsg.h Makefile
|
|
gcc -c ${OPTS} $<
|
|
|
|
asyncburp: asyncburp.o burpmsg.o
|
|
gcc ${OPTS} $< burpmsg.o -llo -o $@
|
|
|
|
# --------------------------------------------
|
|
|
|
|