notaz.gp2x.de
/
ginge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more patches for more variants
[ginge.git]
/
prep
/
Makefile
diff --git
a/prep/Makefile
b/prep/Makefile
index
368dc0e
..
82ec39f
100644
(file)
--- a/
prep/Makefile
+++ b/
prep/Makefile
@@
-1,15
+1,23
@@
CC = $(CROSS_COMPILE)gcc
CFLAGS += -Wall -O2
LDFLAGS = -s -O2
CC = $(CROSS_COMPILE)gcc
CFLAGS += -Wall -O2
LDFLAGS = -s -O2
+ifdef WIZ
+CFLAGS += -DWIZ
+TAG = _wiz
+endif
+ifdef PND
+CFLAGS += -DPND
+TAG = _pnd
+endif
vpath %.c = ../common/
vpath %.c = ../common/
-TARGET = ginge_prep
-OBJS = main.o host_fb.o cmn.o
+TARGET = ginge_prep
$(TAG)
+OBJS
+
= main.o host_fb.o cmn.o
all: $(TARGET)
all: $(TARGET)
-
ginge_prep
: $(OBJS)
+
$(TARGET)
: $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS)
clean:
$(CC) -o $@ $^ $(LDFLAGS)
clean: