doom

a minimalistic implementation of doom
git clone git://ssnf.xyz/doom
Log | Files | Refs

Makefile (257B)


      1 CC      = c89
      2 CFLAGS  = -Os
      3 LIBS    =
      4 LDFLAGS = ${LIBS}
      5 SRC = soundsrv.c sounds.c wadread.c linux.c
      6 OBJ = ${SRC:.c=.o}
      7 all: sndserver
      8 clean:
      9 	rm -f *.o sndserver
     10 %.o: %.c
     11 	${CC} ${CFLAGS} -c $< -o $@
     12 sndserver: ${OBJ}
     13 	${CC} ${LDFLAGS} ${OBJ} -o sndserver