1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/games/frikqcc/files/Makefile
2009-03-30 10:56:11 +00:00

27 lines
376 B
Makefile

#
# $FreeBSD$
CFLAGS+= -DINLINE
COBJS= compiler/cmdlib.o \
compiler/hash.o \
compiler/main.o \
compiler/pr_comp.o \
compiler/pr_lex.o \
compiler/qcc.o
DECOBJS= decompiler/cmdlib.o \
decompiler/decomp.o \
decompiler/main.o
.c.o:
${CC} ${CFLAGS} -o $@ -c $<
all: c dec
c: ${COBJS}
${CC} ${LDFLAGS} -o frikqcc $>
dec: ${DECOBJS}
${CC} ${LDFLAGS} -o frikqcdec $>