wanpipe/api/pos/Makefile

34 lines
915 B
Makefile

# ============================================================================
# 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
VPATH = $(SYSINC)
# Tools options.
CFLAGS = -Wall -O2 -D$(OS_TYPE) -D_DEBUG_=$(DEBUG) -D_GNUC_ -I$(SYSINC) -I$(APIINC)
####### RULES ################################################################
all: pos_api
@echo "Ok."
#bsc_cmd: bsc_cmd.c
# $(CC) $(CFLAGS) -o $@ $^
pos_api: pos_api.c
$(CC) $(CFLAGS) -o $@ $^
clean:
rm -f pos_api