Skip to content

Commit

Permalink
added write-c2-files into the build process
Browse files Browse the repository at this point in the history
  • Loading branch information
PA7T committed Mar 24, 2017
1 parent 3239d37 commit 02a115d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,17 @@ OBJECTS=$(CXXOBJECTS)
OUT_DIR=../
C_OUT_NAME=$(OUT_DIR)controllerhf.so

all: make_c_app make_wsprd
all: make_c_app make_wsprd make_write-c2-files

.cpp.o:
$(CXX) -c $(CXXFLAGS) $< -o $@

make_wsprd:
cd wsprd && make wsprd

make_write-c2-files: $(OBJECTS)
cd write-c2-files && make

make_c_app: $(OBJECTS)
$(CXX) $(OBJECTS) -o $(C_OUT_NAME) $(LDFLAGS)

Expand Down
4 changes: 4 additions & 0 deletions src/write-c2-files/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ all: write-c2-files

write-c2-files: write-c2-files.c
gcc $(CFLAGS) -o $@ $^ -lm -lconfig
cp write-c2-files ../../

clean:
rm write-c2-files
Binary file modified write-c2-files
Binary file not shown.

0 comments on commit 02a115d

Please sign in to comment.