mirror of
https://github.com/aap/pdp6.git
synced 2026-01-13 15:27:46 +00:00
14 lines
363 B
Makefile
14 lines
363 B
Makefile
SRC=main.c apr.c mem.c tty.c
|
|
# clang
|
|
#CFLAGS= -Wno-shift-op-parentheses -Wno-logical-op-parentheses \
|
|
# -Wno-bitwise-op-parentheses
|
|
CFLAGS= -fno-diagnostics-show-caret \
|
|
`sdl-config --cflags` `pkg-config SDL_image --cflags`
|
|
|
|
LIBS= `sdl-config --libs` `pkg-config SDL_image --libs` -lpthread
|
|
|
|
|
|
pdp6: $(SRC) pdp6.h
|
|
$(CC) $(CFLAGS) $(SRC) $(LIBS) -o pdp6
|
|
|