forked from KolibriOS/kolibrios
d093f70049
- Now uses (kolibri-libc) libc.obj. - Resize 12kb -> 6kb git-svn-id: svn://kolibrios.org@8707 a494cfbc-eb01-0410-851d-a64ba20cac60
21 lines
427 B
Makefile
Executable File
21 lines
427 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 = -lbox -ldialog -lcryptal -lc.obj
|
|
|
|
all:
|
|
$(KTCC) $(CFLAGS) $(SRC) $(LFLAGS) $(LIBS) -o $(NAME)
|
|
$(KPACK) $(NAME)
|
|
|
|
clean:
|
|
rm $(NAME)
|