You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
594 B
19 lines
594 B
!IF 0
|
|
Copyright (c) Microsoft Corporation
|
|
!ENDIF
|
|
|
|
$(O)\dll1.res : \
|
|
$(O)\CApartmentThreaded.rgs \
|
|
$(O)\CBothThreaded.rgs \
|
|
$(O)\CFreeThreaded.rgs \
|
|
$(O)\CSingleThreaded.rgs
|
|
|
|
.SUFFIXES: .rgssrc .rgs
|
|
|
|
{..}.rgssrc{$(O)\}.rgs:
|
|
$(CXX_COMPILER_NAME) $(CXX_COMPILER_FLAGS) -EP $(USE_FC) $< | perl <<$(O)\cleanup_rgs.pl > $@
|
|
$$file = join("", <>); # read all the lines into one string
|
|
$$file =~ s/^#.+$$//gm; # remove preprocessor directives
|
|
$$file =~ s/\n+/\n/gms; # remove empty lines
|
|
print($$file); # and print it all back out
|
|
<<KEEP
|