Skip to content

Commit

Permalink
Add keywordset to build system
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Apr 15, 2020
1 parent 809a3c6 commit 7ee6839
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ test_mxqd_control.o
mxq_log.o
mx_mysql.o
mxqd_control.o
keywordset.o
test_keywordset.o


mxqsub
Expand All @@ -34,6 +36,7 @@ test_mx_util
test_mx_log
test_mx_mysq
test_mxqd_control
test_keywordset

/web/pages/mxq/mxq
web/lighttpd.conf
Expand Down
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,10 @@ mxqd_control.h += mxqd.h

mx_getopt.h += mx_getopt.h

### keywordset.h -------------------------------------------------------

keywordset.h += keywordset.h

########################################################################

### mx_getopt.o --------------------------------------------------------
Expand Down Expand Up @@ -494,6 +498,13 @@ mxqsub.o: CFLAGS += $(CFLAGS_MYSQL)

clean: CLEAN += mxqsub.o

### keywordset.o -----------------------------------------------------

keywordset.o: $(keywordset.h)
keywordset.o: xmalloc.h

clean: CLEAN += keywordset.o

########################################################################

### mxqd ---------------------------------------------------------------
Expand Down Expand Up @@ -678,3 +689,9 @@ test_mxqd_control: LDLIBS += $(LDLIBS_MYSQL)
clean: CLEAN += test_mxqd_control

test: test_mxqd_control

test_keywordset: $(test_keywordset.h)
test_keywordset: test_keywordset.o
test_keywordset: keywordset.o
clean: CLEAN += test_keywordset.o
test: test_keywordset

0 comments on commit 7ee6839

Please sign in to comment.