wanpipe/api/fr/Makefile

35 lines
960 B
Makefile
Raw Normal View History

2021-12-29 16:56:27 +00:00
# ============================================================================
# Makefile Make script for building Linux WAN router utilities.
# ----------------------------------------------------------------------------
# Copyright (c) 1995-1998 Sangoma Technologies Inc. All Rights Reserved.
# ============================================================================
####### MACROS ###############################################################
# Build options.
OS_TYPE = __LINUX__
DEBUG = 2
# Project file paths.
SYSINC = /usr/src/linux/include
# Tools options.
CFLAGS = -Wall -O2 -D$(OS_TYPE) -D_DEBUG_=$(DEBUG) -D_GNUC_ -I$(SYSINC) -I$(APIINC)
2021-12-29 17:18:25 +00:00
TARGETS = fr_api
#TARGETS += fr_api_fast
2021-12-29 16:56:27 +00:00
####### RULES ################################################################
2021-12-29 17:18:25 +00:00
all: $(TARGETS)
2021-12-29 16:56:27 +00:00
@echo "Ok."
fr_api: fr_api.c
$(CC) $(CFLAGS) -c -o $@ $<
2021-12-29 17:18:25 +00:00
#fr_api_fast: fr_api_fast.c
# $(CC) $(CFLAGS) -c -o $@ $<
2021-12-29 16:56:27 +00:00
clean:
2021-12-29 17:18:25 +00:00
rm -f $(TARGETS)