subdirs=backend,debug,models targets=debugger,gdeasm,sequel,simulator cflags_force=-W `pkg-config --cflags libDesktop` cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector ldflags_force=`pkg-config --libs libDesktop` ldflags=-Wl,-pie dist=Makefile,debugger.h,gdeasm.h,sequel.h,simulator.h [debugger] type=binary cflags=`pkg-config --cflags Asm` ldflags=`pkg-config --libs Asm` sources=debugger.c,debugger-main.c install=$(BINDIR) [debugger.c] depends=debugger.h,backend/asm.c,debug/ptrace.c,../config.h [debugger-main.c] depends=debugger.h,../config.h [gdeasm] type=binary sources=gdeasm.c,gdeasm-main.c cflags=`pkg-config --cflags Asm` ldflags=`pkg-config --libs Asm` install=$(BINDIR) [gdeasm.c] depends=../config.h [sequel] type=binary cflags=`pkg-config --cflags libDatabase` ldflags=`pkg-config --libs libDatabase` install=$(BINDIR) sources=sequel.c,sequel-main.c [sequel.c] depends=sequel.h [sequel-main.c] depends=sequel.h [simulator] type=binary sources=simulator.c,simulator-main.c cflags=`pkg-config --cflags x11` ldflags=`pkg-config --libs x11` -lXtst install=$(BINDIR) [simulator.c] cppflags=-D PREFIX=\"$(PREFIX)\" depends=simulator.h,../config.h [simulator-main.c] depends=simulator.h