1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/games/frikqcc/files/Makefile

27 lines
392 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} -c $< -o $*.o
all: c dec
c: ${COBJS}
${CC} ${LDFLAGS} -o frikqcc ${COBJS}
dec: ${DECOBJS}
${CC} ${LDFLAGS} -o frikqcdec ${DECOBJS}