mirror of
https://github.com/fadden/nulib2.git
synced 2024-12-27 17:29:57 +00:00
Added Version.c.in handling.
This commit is contained in:
parent
122bb55030
commit
5f9ad84311
@ -66,7 +66,6 @@ OutDir=.\Release
|
||||
|
||||
ALL : "$(OUTDIR)\nufxlib.dll"
|
||||
|
||||
|
||||
CLEAN :
|
||||
-@erase "$(INTDIR)\Archive.obj"
|
||||
-@erase "$(INTDIR)\ArchiveIO.obj"
|
||||
@ -94,6 +93,7 @@ CLEAN :
|
||||
-@erase "$(OUTDIR)\nufxlib.dll"
|
||||
-@erase "$(OUTDIR)\nufxlib.exp"
|
||||
-@erase "$(OUTDIR)\nufxlib.lib"
|
||||
-@erase "Version.c"
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
@ -247,6 +247,7 @@ CLEAN :
|
||||
-@erase "$(OUTDIR)\nufxlib.ilk"
|
||||
-@erase "$(OUTDIR)\nufxlib.lib"
|
||||
-@erase "$(OUTDIR)\nufxlib.pdb"
|
||||
-@erase "Version.c"
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
@ -773,5 +774,13 @@ SOURCE="Version.c"
|
||||
!ENDIF
|
||||
|
||||
|
||||
# this isn't great, but it'll have to do
|
||||
SOURCE="Version.c.in"
|
||||
Version.c: Version.c.in
|
||||
copy Version.c.in Version.c
|
||||
@echo -
|
||||
@echo - NOTE: you must update Version.c by hand
|
||||
@echo -
|
||||
|
||||
!ENDIF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user