1
0
mirror of https://github.com/aap/pdp6.git synced 2026-04-20 01:33:31 +00:00
Files
aap.pdp6/emu/Makefile

15 lines
428 B
Makefile

SRC=main.c cmd.c apr.c mem.c tty.c pt.c ../tools/pdp6common.c
H=pdp6.h ../tools/pdp6common.h
# clang
#CFLAGS= -Wno-shift-op-parentheses -Wno-logical-op-parentheses \
# -Wno-bitwise-op-parentheses
CFLAGS= -g -fno-diagnostics-show-caret \
`sdl-config --cflags` `pkg-config SDL_image --cflags`
LIBS= `sdl-config --libs` `pkg-config SDL_image --libs` -lpthread
pdp6: $(SRC) $(H)
$(CC) $(CFLAGS) $(SRC) $(LIBS) -o pdp6