]> Nishi Git Mirror - dataworks.git/commitdiff
fix
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sat, 8 Jun 2024 11:47:12 +0000 (11:47 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sat, 8 Jun 2024 11:47:12 +0000 (11:47 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@192 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

Server/Makefile

index d2e5c62373e3b43f7b72cb291e6d8b0f7fbb33fd..1fd071910a7cbfa7e1f2f7ccb914de20dd31d1d3 100644 (file)
@@ -7,12 +7,12 @@ OBJS = server.o $(SERVER_MODULE)
 
 all: dataworks_server$(EXEC_SUFFIX)
 
-dataworks.res: ../Client/dataworks.res
-       cp ../Client/dataworks.res ./
-
 dataworks_server$(EXEC_SUFFIX): $(OBJS) $(LINK_LIB)
        $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(LINK_LIB) $(SERVLINK_LIB)
 
+dataworks.res: ../Client/dataworks.rc ../dataworks.ico
+       $(WINDRES) ../Client/dataworks.rc -O coff -o ./dataworks.res
+
 .c.o:
        $(CC) $(CFLAGS) -I../Library -c -o $@ $<