forked from KolibriOS/kolibrios
TinyHashView:
- update build git-svn-id: svn://kolibrios.org@8732 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
69eda3cf65
commit
4a09257a8f
@ -10,7 +10,7 @@ SRC=thashview.c
|
|||||||
|
|
||||||
CFLAGS= -I$(KLIBC_DIR)/include -I$(KTCC_DIR)/libc/include
|
CFLAGS= -I$(KLIBC_DIR)/include -I$(KTCC_DIR)/libc/include
|
||||||
LFLAGS= -nobss -nostdlib -L $(KLIBC_DIR)/lib $(KLIBC_DIR)/lib/crt0.o
|
LFLAGS= -nobss -nostdlib -L $(KLIBC_DIR)/lib $(KLIBC_DIR)/lib/crt0.o
|
||||||
LIBS = -lbox -ldialog -lcryptal -lc.obj
|
LIBS = -ltcc -ldialog -lcryptal -lbox -lc.obj
|
||||||
|
|
||||||
all:
|
all:
|
||||||
$(KTCC) $(CFLAGS) $(SRC) $(LFLAGS) $(LIBS) -o $(NAME)
|
$(KTCC) $(CFLAGS) $(SRC) $(LFLAGS) $(LIBS) -o $(NAME)
|
||||||
|
@ -4,7 +4,7 @@ TCC="kos32-tcc"
|
|||||||
|
|
||||||
CFLAGS = "-I../../develop/libraries/kolibri-libc/include -I../../develop/ktcc/trunk/libc/include"
|
CFLAGS = "-I../../develop/libraries/kolibri-libc/include -I../../develop/ktcc/trunk/libc/include"
|
||||||
LDFLAGS = "-nostdlib ../../develop/libraries/kolibri-libc/lib/crt0.o -L../../develop/libraries/kolibri-libc/lib -L../../develop/ktcc/trunk/bin/lib"
|
LDFLAGS = "-nostdlib ../../develop/libraries/kolibri-libc/lib/crt0.o -L../../develop/libraries/kolibri-libc/lib -L../../develop/ktcc/trunk/bin/lib"
|
||||||
LIBS = "-lcryptal -ldialog -lbox -lc.obj"
|
LIBS = "-ltcc -lcryptal -ldialog -lbox -lc.obj"
|
||||||
|
|
||||||
COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, "%f -o %o", LDFLAGS, LIBS)
|
COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, "%f -o %o", LDFLAGS, LIBS)
|
||||||
tup.rule("thashview.c", COMMAND .. tup.getconfig("KPACK_CMD"), "thashview")
|
tup.rule("thashview.c", COMMAND .. tup.getconfig("KPACK_CMD"), "thashview")
|
||||||
|
Loading…
Reference in New Issue
Block a user