forked from KolibriOS/kolibrios
4a09257a8f
- update build git-svn-id: svn://kolibrios.org@8732 a494cfbc-eb01-0410-851d-a64ba20cac60
21 lines
433 B
Makefile
Executable File
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)
|