1
0
mirror of https://github.com/aap/pdp6.git synced 2026-01-25 03:45:39 +00:00
aap.pdp6/emu/Makefile

15 lines
477 B
Makefile

SRC=main.c util.c cmd.c apr.c mem.c tty.c pt.c dc.c dt.c netmem.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 -Wall -Wno-parentheses -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