diff options
Diffstat (limited to 'third_party/spiro/x3/Makefile')
-rw-r--r-- | third_party/spiro/x3/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/third_party/spiro/x3/Makefile b/third_party/spiro/x3/Makefile new file mode 100644 index 0000000..392417b --- /dev/null +++ b/third_party/spiro/x3/Makefile @@ -0,0 +1,25 @@ +TARGET = gtk + +ifeq ($(TARGET),gtk) + X3_PLAT = X3_GTK + X3_INCL = `pkg-config --cflags gtk+-2.0` + X3_LIBS = `pkg-config --libs gtk+-2.0` +endif + +ifeq ($(TARGET),carbon) + X3_PLAT = X3_CARBON + X3_LIBS = -framework Carbon +endif + +ifeq ($(TARGET),win32) + X3_PLAT = X3_WIN32 + X3_LIBS = -lgdi32 +endif + +CFLAGS = -g -Wall -D$(X3_PLAT) $(X3_INCL) +LDFLAGS = -g +LDLIBS = $(X3_LIBS) + +test: test.o x3$(TARGET).o x3common.o + +x3lisp.o: x3lisp.c |