aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sample.source.TAP3/Makefile
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-09-17 04:01:29 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-09-17 04:01:29 +0000
commit70c232de00d5332a85c91d29ccc4e8af045d8b83 (patch)
tree4e6e51d429d0b48fb74826609808d7afc7ae49f9 /examples/sample.source.TAP3/Makefile
parent13d1c51735361825ad478cc40d516e16fb37c6d1 (diff)
proper
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1199 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'examples/sample.source.TAP3/Makefile')
-rw-r--r--examples/sample.source.TAP3/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/sample.source.TAP3/Makefile b/examples/sample.source.TAP3/Makefile
index 65e4a533..74586888 100644
--- a/examples/sample.source.TAP3/Makefile
+++ b/examples/sample.source.TAP3/Makefile
@@ -679,7 +679,7 @@ libsomething_la_SOURCES=$(ASN_MODULE_SOURCES) $(ASN_MODULE_HEADERS)
# This file may be used as an input for make(3)
# Remove the lines below to convert it into a pure .am file
TARGET = tap3dump
-CFLAGS += -I. -DHAVE_CONFIG_H -DPDU=DataInterChange
+CFLAGS += -DHAVE_CONFIG_H -DPDU=DataInterChange -I.
OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o}
all: DataInterChange.c $(TARGET)
@@ -704,13 +704,16 @@ regenerate-from-asn1-source:
DataInterChange.c: ../sample.makefile.regen
+ make regen-makefile
+ @touch DataInterChange.c
+ make
+
+regen-makefile:
ASN1CMDOPTS="" \
ASN1MODULES="../tap3.asn1" \
ASN1PDU=DataInterChange \
PROGNAME=tap3dump \
../sample.makefile.regen
- @touch DataInterChange.c
- make
check: ${TARGET}
@if test -f ./sample-DataInterChange-1.[db]er ; then \