Skip to content

Commit

Permalink
Adding the applications we use to test before release
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Richmond committed Feb 9, 2016
1 parent d27b265 commit 5118d0e
Show file tree
Hide file tree
Showing 5 changed files with 726 additions and 0 deletions.
27 changes: 27 additions & 0 deletions c_c++/linux/x64/test_apps/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
program_NAME := testutil
program_C_SRCS := $(wildcard *.c)
program_CXX_SRCS := $(wildcard *.cpp)
program_C_OBJS := ${program_C_SRCS:.c=.o}
program_CXX_OBJS := ${program_CXX_SRCS:.cpp=.o}
program_OBJS := $(program_C_OBJS) $(program_CXX_OBJS)
program_INCLUDE_DIRS :=
program_LIBRARY_DIRS :=
program_LIBRARIES := riffa
CPPFLAGS += -g

CPPFLAGS += $(foreach includedir,$(program_INCLUDE_DIRS),-I$(includedir))
LDFLAGS += $(foreach librarydir,$(program_LIBRARY_DIRS),-L$(librarydir))
LDFLAGS += $(foreach library,$(program_LIBRARIES),-l$(library))

.PHONY: all clean distclean

all: $(program_NAME)

$(program_NAME): $(program_OBJS)
$(CC) $(CPPFLAGS) $(program_OBJS) -o $(program_NAME) $(LDFLAGS)

clean:
@- $(RM) $(program_NAME)
@- $(RM) $(program_OBJS)

distclean: clean
Loading

0 comments on commit 5118d0e

Please sign in to comment.