fix makefile

git-svn-id: svn://kolibrios.org@6525 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
siemargl 2016-09-19 11:26:23 +00:00
parent 799306dee1
commit 5499415dbf

View File

@ -19,7 +19,7 @@ SOURCES = boardmsg.c option_menu.c
OBJECTS = $(patsubst %.c, %.o, $(SOURCES))
all: boardmsg option_menu scroll_progress
all: boardmsg option_menu scroll_progress dbutton_files
scroll_progress: scroll_progress.o
# $(LD) $(LIBPATH) --subsystem native -o $@ $^ $(OBJPATH)/loadboxlib.obj $(LDFLAGS)
@ -35,6 +35,10 @@ boardmsg: boardmsg.o
$(LD) $(LIBPATH) --subsystem native -o $@ $^ $(OBJPATH)/loadboxlib.obj $(LDFLAGS)
kos32-objcopy $@ -O binary
dbutton_files: dbutton_files.o
$(LD) $(LIBPATH) --subsystem native -o $@ $^ $(OBJPATH)/loadboxlib.obj $(OBJPATH)/loadproclib.obj $(OBJPATH)/loadlibimg.obj $(LDFLAGS)
kos32-objcopy $@ -O binary
%.o : %.c Makefile
$(CC) -c $(INCLUDES) $(CFLAGS) -o $@ $<