kolibrios/programs/other/Weather/Makefile
turbocat 4454900e10 Weather 1.6e:
- Now uses libc.obj
- The binary file has been reduced to ~ 8kb

git-svn-id: svn://kolibrios.org@8735 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-23 17:21:26 +00:00

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)