forked from KolibriOS/kolibrios
4454900e10
- Now uses libc.obj - The binary file has been reduced to ~ 8kb git-svn-id: svn://kolibrios.org@8735 a494cfbc-eb01-0410-851d-a64ba20cac60
18 lines
391 B
Makefile
Executable File
18 lines
391 B
Makefile
Executable File
KTCC_DIR = ../../develop/ktcc/trunk
|
|
KLIBC = ../../develop/libraries/kolibri-libc
|
|
|
|
NAME = weather
|
|
|
|
KTCC=$(KTCC_DIR)/bin/kos32-tcc
|
|
KPACK = kpack
|
|
|
|
SRC= weather.c json/json.c
|
|
FLAGS= -nostdlib $(KLIBC)/lib/crt0.o -I $(KLIBC)/include -I $(KTCC_DIR)/libc/include -L$(KLIBC)/lib
|
|
LIBS =-ltcc -limg -lhttp -lc.obj
|
|
|
|
all:
|
|
$(KTCC) $(FLAGS) $(SRC) $(LIBS) -o $(NAME)
|
|
$(KPACK) $(NAME)
|
|
clean:
|
|
rm $(NAME)
|