kolibrios-gitea/programs/other/TinyHashView/Makefile
turbocat 4a09257a8f TinyHashView:
- update build

git-svn-id: svn://kolibrios.org@8732 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-23 15:49:26 +00:00

21 lines
433 B
Makefile
Executable File

KTCC_DIR=../../develop/ktcc/trunk
KLIBC_DIR = ../../develop/libraries/kolibri-libc
NAME=thashview
KTCC=$(KTCC_DIR)/bin/kos32-tcc
KPACK=kpack
SRC=thashview.c
CFLAGS= -I$(KLIBC_DIR)/include -I$(KTCC_DIR)/libc/include
LFLAGS= -nobss -nostdlib -L $(KLIBC_DIR)/lib $(KLIBC_DIR)/lib/crt0.o
LIBS = -ltcc -ldialog -lcryptal -lbox -lc.obj
all:
$(KTCC) $(CFLAGS) $(SRC) $(LFLAGS) $(LIBS) -o $(NAME)
$(KPACK) $(NAME)
clean:
rm $(NAME)