adding dummy files
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@29 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
c9c8bf5163
commit
c2b08729ef
6 changed files with 40 additions and 3 deletions
|
|
@ -9,6 +9,7 @@ LIBS =
|
|||
|
||||
L_OBJS = src/ds.o src/core.o src/default.o src/draw.o
|
||||
L_OBJS += src/window.o src/button.o
|
||||
L_LIBS = -lfreetype
|
||||
|
||||
ifeq ($(TARGET),NetBSD)
|
||||
CFLAGS += -I/usr/X11R7/include -I/usr/pkg/include
|
||||
|
|
@ -16,6 +17,8 @@ LDFLAGS += -L/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/l
|
|||
UNIX = 1
|
||||
else ifeq ($(TARGET),Linux)
|
||||
UNIX = 1
|
||||
else ifeq ($(TARGET),Windows)
|
||||
WINDOWS = 1
|
||||
else
|
||||
$(error Add your platform definition)
|
||||
endif
|
||||
|
|
@ -26,6 +29,12 @@ LIB = lib
|
|||
SO = .so
|
||||
L_OBJS += src/x11.o
|
||||
L_LIBS += -lX11
|
||||
else ifeq ($(WINDOWS),1)
|
||||
CFLAGS += -DUSE_GDI
|
||||
LIB =
|
||||
SO = .dll
|
||||
L_OBJS += src/gdi.o
|
||||
L_LIBS += -lgdi32
|
||||
endif
|
||||
|
||||
.PHONY: all format clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue