2021-01-27 20:37:12 +01:00
|
|
|
KTCC_DIR = ../../develop/ktcc/trunk
|
2023-03-28 18:39:08 +02:00
|
|
|
KLIBC = ../../develop/ktcc/trunk/libc.obj
|
2021-01-27 20:37:12 +01:00
|
|
|
|
|
|
|
NAME = weather
|
|
|
|
|
|
|
|
KTCC=$(KTCC_DIR)/bin/kos32-tcc
|
|
|
|
KPACK = kpack
|
|
|
|
|
2021-05-23 19:21:26 +02:00
|
|
|
SRC= weather.c json/json.c
|
2023-03-28 18:39:08 +02:00
|
|
|
FLAGS= -B$(KTCC_DIR)/bin -I $(KLIBC)/include
|
|
|
|
LIBS = -limg -lhttp
|
2021-01-27 20:37:12 +01:00
|
|
|
|
|
|
|
all:
|
2021-05-23 19:21:26 +02:00
|
|
|
$(KTCC) $(FLAGS) $(SRC) $(LIBS) -o $(NAME)
|
2021-01-27 20:37:12 +01:00
|
|
|
$(KPACK) $(NAME)
|
|
|
|
clean:
|
|
|
|
rm $(NAME)
|