1
0
mirror of https://github.com/aap/pdp6.git synced 2026-01-22 18:50:49 +00:00
aap.pdp6/emu/Makefile
2019-02-28 11:50:44 +01:00

22 lines
760 B
Makefile

SRC=emu.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
SDLFLAGS=`sdl-config --cflags` `pkg-config SDL_image --cflags`
LIBS=`sdl-config --libs` `pkg-config SDL_image --libs` -lpthread
pdp6: main_panel.c $(SRC) $(H)
$(CC) -o $@ $(CFLAGS) $(SDLFLAGS) main_panel.c $(SRC) $(LIBS)
pdp6_s: main_serial.c $(SRC) $(H)
$(CC) -o $@ $(CFLAGS) $(SDLFLAGS) main_serial.c $(SRC) $(LIBS)
test_dc: test_dc.c dc.c $(H)
$(CC) -o $@ $(CFLAGS) test_dc.c dc.c
test_dt: test_dt.c dc.c dt.c $(H)
$(CC) -o $@ $(CFLAGS) test_dt.c dc.c dt.c